{% extends "layout.html" %}
{% block body %}
    <h2>login</h2>
    {% if error %}
        <p class="error"><strong>ERROR:</strong>{{ error }}</p>
    {% endif %}
    <form action="{{ url_for("login") }}" method="post">
        <dl>
            <dt><label for="username">UserName:</label></dt>
            <dd><input type="text" name="username" id="username"/></dd>
            <dt><label for="password">Password:</label></dt>
            <dd><input type="text" name="password" id="password"/></dd>
        </dl>
        <input type="submit" value="Login"/>
    </form>
{% endblock %}